package com.crm.model.qo.cluePoolManager;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * @author luojie
 * @date 2020/12/24 11:51
 */
@Data
public class CluePoolPublicQO {

    //线索池名称
    private String cluePoolName;

    //省份ID
    private String provinceId;

    //省份名称
    private String provinceName;

    //城市ID
    private String cityId;

    //城市名称
    private String cityName;

    //行业
    private String industry;

    //来源
    private String source;

    //是否永久有效
    private Integer permanent;

    //有效时间
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date effectiveTime;

    //线索池分配方式
    private Integer allocation;

    //容量
    private Integer capacity;

    //性质
    private Integer nature;

    //转换方式
    private Integer conversionMethod;

    //线索池标签
    private String tag;

    //线索池类型
    private Integer poolType;

    //公司id
    private List<String> companyIdList;

    //无跟进退回时间间隔
    private Integer returnInterval;

    //最多领取数量
    private Integer maximumNumber;

    //同一线索不能连续领取间隔
    private Integer collectionTimeInterval;

    //任意线索不能连续领取间隔
    private Integer continueTimeInterval;

    //分配数量
    private Integer assignedQuantity;

    //分配时间间隔
    private Integer allocationTimeInterval;

    //分配人员名单
    private List<JSONObject> assignedPersonList;


}
